

const qualityManagement = {
  path: "/quality-management",
  component: "Layout",
  redirect: "noRedirect",
  name: "productionManagement",
  meta: { title: "质量管理", icon: "icon-inspect" },
  children: [
    {
      path: "/quality-monitoring-report-management",
      name: "qualityMonitoringReportManagement",
      component: "quality-management/quality-monitoring-report-management/index",
      meta: { title: "质量监测报告管理", icon: "icon-inspect" }
    },
    {
      path: "/quality-inspection",
      name: "qualityInspection",
      component: "quality-management/quality-inspection/index",
      meta: { title: "质量检验", icon: "jianyan1" }
    },
    {
      path: "/technician-conclusion",
      name: "technicianConclusion",
      component: "quality-management/technician-conclusion/index",
      meta: { title: "技术员结论", icon: "jielun-copy" }
    },
    {
      path: "/factory-director-conclusion",
      name: "factoryDirectorConclusion",
      component: "quality-management/factory-director-conclusion/index",
      meta: { title: "厂长结论", icon: "jielun-copy-2" }
    },
    {
      path: "/quality-inspection-records",
      name: "qualityInspectionRecords",
      component: "quality-management/quality-inspection-records/index",
      meta: { title: "质量检验记录", icon: "zhiliangjianyan" }
    },
    {
      path: "/newQualityControl",
      component: "quality-control/basicsInfo/index",
      redirect: "noRedirect",
      name: "TssTraceabilityMsg",
      meta: { title: "质量追溯", icon: "monitoring-alarm" },
      children: [
          {
              path: "/tss-traceabilityMsg",
              component: "quality-control/traceabilitySystem/index",
              redirect: "noRedirect",
              name: "TssTraceabilityMsg",
              meta: { title: "溯源信息管理", icon: "monitoring-alarm" },
              children: [{
                  path: "/quality-control-traceabilitySystem",
                  name: "traceabilityMsg",
                  component: "quality-control/traceabilitySystem/traceabilityMsg/index",
                  meta: {
                      title: "生产溯源信息",
                      icon: "monitoring-handling",
                      isNcQuery: false
                  },
              },
              {
                  path: "/TraceabilityQRCode",
                  name: "traceabilityQRCode",
                  component: "quality-control/traceabilitySystem/traceability-QR-code/index",
                  meta: {
                      title: "溯源二维码管理",
                      icon: "monitoring-handling"
                  },
              },
              {
                  path: "/QRCodeMsg",
                  name: "QRCodeMsg",
                  component: "quality-control/traceabilitySystem/QRCodeMsg/index",
                  meta: {
                      title: "生成溯源码",
                      icon: "monitoring-handling",
                      isNcQuery: false
                  },
              }
              ]
          },
          {
              path: "/tss-basicsInfo",
              component: "quality-control/basicsInfo/index",
              redirect: "noRedirect",
              name: "tssBasicsInfo",
              meta: {
                  title: "溯源基础信息管理",
                  icon: "monitoring-alarm",
                  isNcQuery: false
              },
              children: [{
                  path: "/fishSpeciesImg",
                  name: "fishSpeciesImg",
                  component: "quality-control/basicsInfo/fishSpeciesImg/index",
                  meta: {
                      title: "品种溯源图片管理",
                      icon: "monitoring-handling"
                  },
              }, {
                  path: "/subjectInfo",
                  name: "subjectInfo",
                  component: "quality-control/basicsInfo/subjectInfo/index",
                  meta: {
                      title: "主体信息管理",
                      icon: "monitoring-handling"
                  },
              }, {
                  path: "/codeRule",
                  name: "codeRule",
                  component: "quality-control/basicsInfo/codeRule/index",
                  meta: {
                      title: "编码规则管理",
                      icon: "monitoring-handling"
                  },
              }, {
                  path: "/stageMsg",
                  name: "stageMsg",
                  component: "quality-control/basicsInfo/stageMsg/index",
                  meta: {
                      title: "阶段管理",
                      icon: "monitoring-handling"
                  },
              }
              ]
          }]
  
  }
  ]
}

export default qualityManagement;
